const runtime.hchanSize
6 uses
runtime (current package)
chan.go#L29: hchanSize = unsafe.Sizeof(hchan{}) + uintptr(-int(unsafe.Sizeof(hchan{}))&(maxAlign-1))
chan.go#L79: if hchanSize%maxAlign != 0 || elem.Align_ > maxAlign {
chan.go#L84: if overflow || mem > maxAlloc-hchanSize || size < 0 {
chan.go#L96: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L102: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L103: c.buf = add(unsafe.Pointer(c), hchanSize)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |